import { IModuleList } from "../types/IModelList";
import adminRouter from "./adminRouter";
import sysUserRouter from "./sysUserRouter";
import sysRoleRouter from "./sysRoleRouter";
import sysDeptRouter from "./sysDeptRouter";
import sysMenuRouter from "./sysMenuRouter";
import captchaRouter from "./captchaRouter";
import sysDictTypeRouter from "./sysDictTypeRouter";
import loginRouter from "./loginRouter";
import loginLogRouter from "./loginLogRouter";
import sysParamsSettingRouter from "./sysParamsSettingRouter";
import uploadRouter from "./uploadRouter";
import attachmentManageRouter from "./attachmentManageRouter";

const moduleList: IModuleList[] = [
  {
    url: "/api/system/admin",
    router: adminRouter,
  },
  {
    url: "/api/system/user",
    router: sysUserRouter,
  },
  {
    url: "/api/system/role",
    router: sysRoleRouter,
  },
  {
    url: "/api/system/dept",
    router: sysDeptRouter,
  },
  {
    url: "/api/system/menu",
    router: sysMenuRouter,
  },
  {
    url: "/api/system/dict/type",
    router: sysDictTypeRouter,
  },
  {
    url: "/api/captchaImage",
    router: captchaRouter,
  },
  {
    url: "/api",
    router: loginRouter,
  },
  {
    url: "/api/system/loginlog",
    router: loginLogRouter,
  },
  {
    url: "/api/system/paramsSetting",
    router: sysParamsSettingRouter,
  },
  {
    url: "/api/upload",
    router: uploadRouter,
  },
  {
    url: "/api/attchmentManage",
    router: attachmentManageRouter,
  },
];
export default moduleList;
